﻿using System.Xml.Serialization;

namespace GISUtil.KML
{
  /// <summary>
  /// The fields of this enum correspond to how a feature is displayed in list view. 
  /// </summary>
  public enum ListItemType
  {
    /// <summary>
    /// The feature'serializer visibility is tied to the item checkbox.
    /// </summary>
    [XmlEnum(Name = "check")]
    Check,

    /// <summary>
    /// Prevents the user from turning visibility on/off on all itmes at once.
    /// </summary>
    [XmlEnum(Name = "checkOffOnly")]
    CheckOffOnly,

    /// <summary>
    /// Use a Normal Check box for visibility but do not display child directories (visibility of child directories can
    /// be toggled via checkbox.
    /// </summary>
    [XmlEnum(Name = "checkHideChildren")]
    CheckHideChildren,

    /// <summary>
    /// Allows only one item in a container to be visible at a time. 
    /// </summary>
    [XmlEnum(Name = "radioFolder")]
    RadioFolder
  }
}